package wrapperclass;

/**
 * Created by L.jp
 * Description:
 * User: 86189
 * Date: 2022-10-05
 * Time: 12:16
 */
//包装类有Byte,Short,Integer,Character,Boolean,Long,Double,Float,
// 除了Character和Boolean直接继承自Object,
// 其他的均继承自Number然后继承自Object
public class Test_Integer {
    public static void main(String[] args) {
        System.out.println(Integer.MAX_VALUE); //2147483647
        System.out.println(Integer.MIN_VALUE); //-2147483648
    
        //“物极必反”原理：
        System.out.println(Integer.MAX_VALUE+1); //-2147483648
        System.out.println(Integer.MIN_VALUE-1); //2147483647
    
    }

}
